import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router';

// 免登陆路由
export const constantRoutes = [
  {
    path: '/',
    redirect: '/designer'
  },
  {
    path: '/designer',
    name: 'designer',
    component: () => import('@/views/admin/test.vue')
  },
  {
    path: '/render',
    name: 'render',
    component: () => import('@/views/admin/render.vue')
  }
];


const router = createRouter({
  history: createWebHashHistory(),
  routes: constantRoutes
});

export default router;